<template>
  <div>
    <elm-table url="/business/jxc/goods/out/stage/GetData" :post-data="postData" :page-size="9999" style="height: 57vh;margin: 10px">
      <el-table-column prop="name" label="进货批次" align="center" header-align="center"></el-table-column>
      <el-table-column prop="specification" label="规格/型号" align="center" header-align="center"></el-table-column>
      <el-table-column prop="unit" label="单位" align="center" header-align="center"></el-table-column>
      <el-table-column prop="quantity" label="销售数量" align="center"></el-table-column>
      <el-table-column prop="price" label="进货价格" align="center"></el-table-column>
      <el-table-column prop="tex" label="税率" align="center" header-align="center">
        <template v-slot="scope">
          {{scope.row.tex?scope.row.tex+"%":""}}
        </template>
      </el-table-column>
      <el-table-column prop="manufacturer" label="厂家" align="left" header-align="center"></el-table-column>
      <el-table-column prop="made_date" label="生产日期" align="center" width="120" :formatter="formatDate"></el-table-column>
      <el-table-column prop="shelf_life" label="保质期至" align="center" width="120" :formatter="formatDate"></el-table-column>
      <el-table-column prop="remarks" label="备注" align="center" header-align="center"></el-table-column>
    </elm-table>
  </div>
</template>

<script>
export default {
  extends: elmVueBase,
  data() {
    return {
      postData:{out_id:elm.dialog.request.out_id}
    }
  },
  created() {
  },
  methods: {
  }
}
</script>
